package daily.may0519;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Date;

public class Month13Day14Test {
    public static void main(String[] args) throws ParseException {
//        DateTimeFormatter formatter1 = DateTimeFormatter.ofPattern("yyyy年MM月dd日");
//        LocalDate localDate = LocalDate.parse("2020年13月14日",formatter1);
//        System.out.println(localDate);

        SimpleDateFormat formatter2 = new SimpleDateFormat("yyyy年MM月dd日");
        Date date = formatter2.parse("2020年13月14日");
        System.out.println(date);
    }
}
